package com.recSys.inter;

import org.apache.ibatis.annotations.Param;

import com.recSys.model.District;

public interface DistrictMapper {
    int deleteByPrimaryKey(Short id);

    int insert(District record);

    int insertSelective(District record);

    District selectByPrimaryKey(Short id);

    int updateByPrimaryKeySelective(District record);

    int updateByPrimaryKey(District record);
    
    District selectByCode(@Param("code")String code);
}